package com.ybl.store.backend.dao.mapper.customer;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ybl.store.backend.dao.entity.customer.CustomerVoucherDO;
import com.ybl.store.backend.dto.resp.user.customer.CustomerProductNumberDTO;
import com.ybl.store.backend.dto.resp.user.customer.CustomerVoucherNumberDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerVoucherMapper extends BaseMapper<CustomerVoucherDO> {
    List<CustomerVoucherNumberDTO> selectCustomerVoucherByCustomerId(@Param(Constants.WRAPPER) QueryWrapper<CustomerVoucherNumberDTO> queryWrapper);
}
